package com.rainng.coursesystem.dao.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.rainng.coursesystem.model.entity.AdminEntity;
import org.apache.ibatis.annotations.Update;
import org.springframework.stereotype.Repository;

@Repository
public interface AdminMapper extends BaseMapper<AdminEntity> {
    @Update("update rc_admin set admin_password= #{password} where admin_id= #{id}")
    void updatePasswordById(String password, Integer id);
}
